<script lang="ts" setup>
import { ref, reactive } from 'vue'
interface IFormItem {
    id?: string
    name?: string
}
const formData:IFormItem = reactive({})
const changeFormData= () => {
    console.log('changeFormData===')
}
</script>

<template>
    <div class="form-item-warpper">
        <slot name="tabForm" :data="{
            config: {id: 1, name: 'zhen'}
        }" @update="changeFormData"></slot>
    </div>
</template>
<style>
.form-item-warpper {
    
}
</style>